--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Commit a25c96aebe3a2f05165eb9efb54688ad3677777c
Parents : 38b783a
Author : Ivan <ivan@quad4.io>
Signature : Invalid signer <e46112d44649266d71fe2193e00a4710>, author is <ivan@quad4.io>
Date : 2026-07-04T16:11:16-05:00
refactor(codebase): format
Changes
7 files changed, 23 insertions(+), 19 deletions(-)
Diff
diff --git a/README.md b/README.md
index 4820400b..65638454 100644
--- a/README.md
+++ b/README.md
@@ -447,10 +447,10 @@ If MeshChatX fails to start with errors such as `database disk image is malforme
### Where MeshChatX stores data
-| Platform | MeshChatX storage | Reticulum network stack |
-| --- | --- | --- |
-| Linux / macOS | `~/.reticulum-meshchatx/` | `~/.reticulum/` |
-| Windows | `%USERPROFILE%\.reticulum-meshchatx\` | `%USERPROFILE%\.reticulum\` |
+| Platform | MeshChatX storage | Reticulum network stack |
+| ---------------- | ---------------------------------------------- | ------------------------------------ |
+| Linux / macOS | `~/.reticulum-meshchatx/` | `~/.reticulum/` |
+| Windows | `%USERPROFILE%\.reticulum-meshchatx\` | `%USERPROFILE%\.reticulum\` |
| Windows portable | `<MeshChatX.exe folder>\.reticulum-meshchatx\` | `<MeshChatX.exe folder>\.reticulum\` |
Legacy Reticulum MeshChat data may still exist at `~/.reticulum-meshchat/` (or the Windows equivalent).
diff --git a/electron/backendCrashReport.js b/electron/backendCrashReport.js
index 9daee0e6..349da4be 100644
--- a/electron/backendCrashReport.js
+++ b/electron/backendCrashReport.js
@@ -258,8 +258,12 @@ function diagnoseBackendCrash(stderr, stdout, exitCode) {
if (combined.includes("database") && (combined.includes("corrupt") || combined.includes("malformed"))) {
hints.push("Use Restore latest backup on the crash screen if automatic backups are listed.");
hints.push("Try auto-repair on the crash screen to run SQLite recovery on the next launch.");
- hints.push("Copy reset instructions from the crash screen to remove MeshChatX and Reticulum data folders and start fresh.");
- hints.push("Emergency Mode can still open the app without the database so you can download backups from About.");
+ hints.push(
+ "Copy reset instructions from the crash screen to remove MeshChatX and Reticulum data folders and start fresh."
+ );
+ hints.push(
+ "Emergency Mode can still open the app without the database so you can download backups from About."
+ );
return {
category: "database",
summary: "The local database may be corrupted.",
diff --git a/electron/crash.html b/electron/crash.html
index 8eee008c..31414b6d 100644
--- a/electron/crash.html
+++ b/electron/crash.html
@@ -145,7 +145,9 @@
</button>
</div>
<p id="recovery-status" class="text-xs text-amber-900 dark:text-amber-200"></p>
- <details class="rounded-lg border border-amber-200/70 bg-white/70 p-3 dark:border-amber-900/40 dark:bg-zinc-950/40">
+ <details
+ class="rounded-lg border border-amber-200/70 bg-white/70 p-3 dark:border-amber-900/40 dark:bg-zinc-950/40"
+ >
<summary
class="cursor-pointer text-xs font-semibold text-amber-900 dark:text-amber-100"
>
diff --git a/electron/offlineRecovery.js b/electron/offlineRecovery.js
index 8b05c66d..5d1a46d2 100644
--- a/electron/offlineRecovery.js
+++ b/electron/offlineRecovery.js
@@ -116,11 +116,11 @@ function buildDataCleanupGuide(ctx) {
lines.push(" %USERPROFILE%\\.reticulum-meshchat\\ (legacy, if present)");
lines.push("");
lines.push(
- "Removing these folders deletes your local identity, messages, contacts, and network path cache. You will get a new identity on the next launch unless you restore from a backup zip first.",
+ "Removing these folders deletes your local identity, messages, contacts, and network path cache. You will get a new identity on the next launch unless you restore from a backup zip first."
);
lines.push("");
lines.push(
- "Automatic database backups are kept under database-backups/ inside the MeshChatX storage folder when the app has run successfully before.",
+ "Automatic database backups are kept under database-backups/ inside the MeshChatX storage folder when the app has run successfully before."
);
return lines.join("\n");
diff --git a/meshchatx/src/frontend/components/messages/MessagesPage.vue b/meshchatx/src/frontend/components/messages/MessagesPage.vue
index ad4a4802..6fb7340e 100644
--- a/meshchatx/src/frontend/components/messages/MessagesPage.vue
+++ b/meshchatx/src/frontend/components/messages/MessagesPage.vue
@@ -331,7 +331,12 @@ import {
startCameraStream,
} from "../../js/qrScannerUtils";
import { lxmfConversationListPreview } from "../../js/lxmfConversationPreview";
-import { loadMessagePanes, saveMessagePanes, loadFeatureSidebarCollapsed, saveFeatureSidebarCollapsed } from "../../js/browserLayoutStore";
+import {
+ loadMessagePanes,
+ saveMessagePanes,
+ loadFeatureSidebarCollapsed,
+ saveFeatureSidebarCollapsed,
+} from "../../js/browserLayoutStore";
import MaterialDesignIcon from "../MaterialDesignIcon.vue";
export default {
diff --git a/tests/electron/offlineRecovery.test.js b/tests/electron/offlineRecovery.test.js
index 91a1b42d..a787878f 100644
--- a/tests/electron/offlineRecovery.test.js
+++ b/tests/electron/offlineRecovery.test.js
@@ -27,11 +27,7 @@ describe("electron/offlineRecovery", () => {
fs.utimesSync(path.join(snapshotDir, "manual.zip"), now / 1000 - 30, now / 1000 - 30);
const backups = listRecoveryBackups(storageDir);
- expect(backups.map((entry) => entry.name)).toEqual([
- "backup-new.zip",
- "manual.zip",
- "backup-old.zip",
- ]);
+ expect(backups.map((entry) => entry.name)).toEqual(["backup-new.zip", "manual.zip", "backup-old.zip"]);
} finally {
fs.rmSync(storageDir, { recursive: true, force: true });
}
diff --git a/tests/frontend/browserLayoutStore.test.js b/tests/frontend/browserLayoutStore.test.js
index 6ff8de4a..1a8cdac4 100644
--- a/tests/frontend/browserLayoutStore.test.js
+++ b/tests/frontend/browserLayoutStore.test.js
@@ -1,8 +1,5 @@
import { afterEach, describe, expect, it } from "vitest";
-import {
- loadFeatureSidebarCollapsed,
- saveFeatureSidebarCollapsed,
-} from "@/js/browserLayoutStore";
+import { loadFeatureSidebarCollapsed, saveFeatureSidebarCollapsed } from "@/js/browserLayoutStore";
describe("browserLayoutStore sidebar collapse", () => {
afterEach(() => {
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────